#ifndef __APP_MODBUS_H__
#define __APP_MODBUS_H__
#include "app_common.h"
#include "modbus/modbus.h"

/// @brief 初始化modbus
/// @param  
/// @return 
Com_state_t app_Modbus_init(void);

/// @brief 写入速率
/// @param slave_addr 
/// @param speed 
/// @return 
Com_state_t app_Modbus_write_single_holde_register(uint8_t slave_addr,uint16_t speed);

/// @brief 读取速率
/// @param slave_addr 
/// @param speed 
/// @return 
Com_state_t app_Modbus_read_single_input_register(uint8_t slave_addr,uint16_t *speed);

#endif /* __APP_MODBUS_H__ */